package com.wang.mapper;


import com.wang.bean.Singlechoice;
import com.wang.bean.TestPaper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface SinglechoiceMapper {

    public List<Singlechoice> listAll();
    public void   addSinglechoice(Singlechoice s);
    public Singlechoice   checkSinglechoice(Singlechoice s);
    public void   delSinglechoice(Singlechoice s);
    public void   updateSinglechoice(Singlechoice s);
    public Singlechoice selectoneSinglechoice(Long user_id);
    public TestPaper selectoneTestPaper(Long user_id);
    public List<TestPaper> randbynumber(Integer num);

}